xl: put daemonize code in it's own function
authorRoger Pau Monne <roger.pau@citrix.com>
Fri, 20 Sep 2013 15:14:09 +0000 (17:14 +0200)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Mon, 18 Nov 2013 17:09:14 +0000 (17:09 +0000)
commit64559b173749d00a9447c6391b37c19e5e4cb4f5
tree0290cccd9debb907b6aba5a0ead4cfda00610fc1
parent5cf2bea385d1bdd409f06789220910876c0ab17d
xl: put daemonize code in it's own function

Move the daemonizer code from create_domain into it's own function
that can be called from other places different than create_domain.
This will be used to daemonize the driver domain backend handler.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Cc: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/xl_cmdimpl.c